{use master_page('admin/v_master')} 

{block content}
    <div class="right">
        <div id="right_box">
            <div class="blank20" style="height:15px"></div>
            说明:勾选所有后其它四项不需要再勾选,但勾选了其它四项却不代表删除所有,因为所有还包含一些模板内自定义的局部缓存<br/><br/>
            <form action="<?=$_SERVER['REQUEST_URI']?>" method="post">
                <input type="checkbox" name="del_all" <?php if(isset($_POST['del_all'])){echo "checked";}?>/> 所有 <br/><br/>
                <input type="checkbox" name="del_entry_index" <?php if(isset($_POST['del_entry_index'])){echo "checked";}?>/> 首页
                <input type="checkbox" name="del_page" <?php if(isset($_POST['del_page'])){echo "checked";}?>/> 单页
                <input type="checkbox" name="del_article_index" <?php if(isset($_POST['del_article_index'])){echo "checked";}?>/> 文章列表
                <input type="checkbox" name="del_article" <?php if(isset($_POST['del_article'])){echo "checked";}?>/> 文章 <br/><br/>
                <input type="submit" value="提 交" class="btn_a1"/>
                <font color="red"><?php if(isset($error)){echo $error;}?></font>
            </form>
        </div>
    </div>
    <script>
        $(document).ready(function(){
            $("input[name=del_all]").change(function(){
                // alert($(this).attr('checked'));
                if($(this).attr('checked'))
                {
                    // $("input[type=checkbox]").attr('checked','true');
                }
            })
        })
    </script>
{end}